package com.e.library.entity;

/**
 * Created by lxy on 2016/12/27.
 *
 * 礼物
 * 礼物的路径：http://www.hpingtai.com/Static/Uploads/Gift/2016-12-20/58589dc1c62b1.png
 */

public class Gift {

    /**
     * add_time : 1482202568
     * gift_image : /Static/Uploads/Gift/2016-12-20/58589dc1c62b1.png
     * gift_name : 礼物1
     * gift_price : 10
     * id : 2
     * num : 2
     * sort : 1
     */

    private String add_time;
    private String gift_image;
    private String gift_name;
    private double gift_price;
    private String id;
    private int num;
    private String sort;

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getGift_image() {
        return "http://www.hpingtai.com/"+gift_image;
    }

    public void setGift_image(String gift_image) {
        this.gift_image = gift_image;
    }

    public String getGift_name() {
        return gift_name;
    }

    public void setGift_name(String gift_name) {
        this.gift_name = gift_name;
    }

    public double getGift_price() {
        return gift_price;
    }

    public void setGift_price(double gift_price) {
        this.gift_price = gift_price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
